const fs= require("fs");
const path = require("path");

var filePath = path.join(__dirname,"e.txt");
var fd = fs.openSync(filePath,"r");
var buf = Buffer.alloc(10);
var result = fs.readSync(fd,buf);
